package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.User;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;


public interface LoginContract {
    public interface View extends BaseView {
        void showError(String errorMsg);
        void showLoginSuccess(User user);
    }

    public interface Presenter extends BasePresenter {
        public void login(String username, String password);
    }
}
